package com.zhl.model.dict.service.impl;

import com.zhl.model.dict.mapper.SysDictionaryMapper;
import com.zhl.model.dict.service.SysDictionaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.xml.ws.ServiceMode;

/**
 * @author 凌晨
 * @Title: SysDictionaryServiceImpl
 * @Description TODO
 * @date： 2020/9/28 19:31
 * @version： V1.0
 */
@Service
public class SysDictionaryServiceImpl implements SysDictionaryService {

    @Autowired
    private SysDictionaryMapper sysDictionaryMapper;

    @Override
    public String queryDictValue(String dictCode) {
        return sysDictionaryMapper.queryDictValue(dictCode);
    }

    @Override
    public String queryTableDictTextByKey(String table, String text, String code, String key) {
        return sysDictionaryMapper.queryTableDictTextByKey(table,text,code,key);
    }


}
